<template>
  <div>
    <order-header></order-header>
  </div>
</template>
<script>
import OrderHeader from "@/pages/tool/order/components/Header"
export default {
   components: { 
     OrderHeader,
  },
  beforeRouteEnter(to, from, next) {
    var UserToken=localStorage.getItem("UserToken");
    if (UserToken) {
       next();
    } else {
      next({ path: '/login', query: { historypath: "/tool/order" }});
    }
  }
};
</script>